from django.shortcuts import render

# Create your views here.
from rest_framework import viewsets

from Apps.Cat.models import Cat
from Apps.Cat.serializer import CatSerializer


class CatViewset(viewsets.ModelViewSet):
    queryset =  Cat.objects.all()
    serializer_class = CatSerializer